package com.yangxk.kadmin.generator.url;

import lombok.Getter;
import lombok.Setter;

/**
 * 请求URL描述
 *
 * @author yangxk
 * @date 2018/10/11 17:11
 */
@Getter
@Setter
public class UrlDesc {
    private String url;
    private String route;
    private String name;
    private String code;
    private boolean menu = false;

    public UrlDesc(String url, String name, String code, boolean menu, String route) {
        this.url = url;
        this.name = name;
        this.menu = menu;
        this.route = route;
        this.code = code;
    }

    public UrlDesc(String url, String name, String code) {
        this(url, name, code, false, null);
    }
}
